Total Complexity | 50 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 377 |
Lines of code | 157 |
Logical lines of code | 94 |
Comment lines | 165 |
Methods | 11 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_restriction() | 52 | 11 | 27 | |
get_applicable_restrictions() | 53 | 9 | 25 | |
get_restrictions() | 49 | 7 | 31 | |
generate_restriction_matches_cache_key() | 50 | 7 | 25 | |
get_restriction_matches_from_cache() | 58 | 7 | 14 | |
user_meets_requirements() | 60 | 3 | 14 | |
set_restriction_matches_in_cache() | 70 | 2 | 5 | |
__construct() | 76 | 1 | 4 | |
has_applicable_restrictions() | 78 | 1 | 3 | |
sort_restrictions_by_priority() | 71 | 1 | 6 | |
prime_restriction_matches_cache() | 80 | 1 | 3 |